package com.lottery.game.core.modules.entity.user;

import com.lottery.game.common.BaseObject;

import java.util.Date;

import lombok.Data;

/**
 * @Author: zwei
 * @Date: 2018/9/10
 * @Description:
 */
@Data
public class GameUserLog extends BaseObject {

    private static final long serialVersionUID = 1L;
    private String no;		// 排序编号
    private String loginIp;		// 登录Ip
    private String loginIpAddress;		// 登录IP的地理位置
    private String phoneBrand;		// 手机品牌
    private String phoneModel;		// 手机型号
    private String macAddress;		// mac地址(唯一标识码)
    private String osVersion;		// 系统版本
    private String os;		// 系统名称
    private String browserName;		// 浏览器名称
    private String browserVersion;		// 浏览器版本
    private String type;		// type
    private String gameUserId;		// FK(game_user)
    private Date createDate;
    private String id;

    public GameUserLog(String gameUserId, String loginIp, String phoneBrand, String phoneModel, String macAddress, String osVersion, String os, String browserName, String browserVersion, String type,String loginIpAddress){
        this.gameUserId = gameUserId;
        this.loginIp = loginIp;
        this.phoneBrand =phoneBrand;
        this.phoneModel = phoneModel;
        this.macAddress = macAddress;
        this.osVersion = osVersion;
        this.os = os;
        this.browserVersion = browserVersion;
        this.browserName = browserName;
        this.createDate = new Date();
        this.type = type;
        this.loginIpAddress = loginIpAddress;
    }
}
